package com.guojiganzhe.subject.application.convert;


import com.guojiganzhe.subject.application.dto.SubjectAnswerDTO;
import com.guojiganzhe.subject.application.dto.SubjectInfoDTO;
import com.guojiganzhe.subject.domain.entity.SubjectAnswerBO;
import com.guojiganzhe.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerDTOConverter {
    SubjectAnswerDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerDTOConverter.class);


    SubjectAnswerBO convertDtoToAnswerBO(SubjectAnswerDTO subjectAnswerDTO);

    List<SubjectAnswerBO> convertDtoToAnswerBoList(List<SubjectAnswerDTO> subjectAnswerDTOList);
}
